﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentacion/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="ConsultarArchivoPdf.aspx.cs" Inherits="vudu.Presentacion.Vista.VU_09_Gestionar_Carga_de_Archivos_PDF.ConsultarArchivoPdf" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
       
          .stilo13
        {
             height: 86px;
            width: 197px;
        }
         .stilo18
        {
            width: 275px;
        }
    </style>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
 <table style="border-style: solid; border-width: 1px; width: 100%;">
 <tr>
 <td>
     <table style="width: 100%">
                  <tr>
                             <td>
                             <asp:Label ID="labelMiga" runat="server" Text="" CssClass="migaActual"></asp:Label>
                              <%-- <a class="miga" href="../HomePages/HomeProfesor.aspx">Inicio </a> &gt; <a class="migaActual"> Consultar Archivo </a>--%>
                             </td>
                             <td align="right" colspan="2">
                             <asp:Label ID="labelNombreUsuario" runat="server" Text="" CssClass="migaActual"></asp:Label>
                             </td>
                  </tr>
                   <tr>
                             <td style= "width: 250px">&nbsp;</td>
                             <td style="width: 350px" align="center"></td>
                             <td  style="width: 250px"> <br /> </td>
                   </tr>
                   <tr>
                             <td style= "width: 250px">&nbsp;</td>
                             <td style="width: 350px" align="center">
                             <asp:Label ID="tituloPagina" runat="server" Text="Gestionar Archivos" CssClass="titulo"></asp:Label>
                             </td>
                             <td  style="width: 250px"><br /></td>
                   </tr>
                   <tr>
                              <td style= "width: 250px">&nbsp;</td>
                              <td style="width: 350px" align="center">&nbsp 
                              <asp:Label ID="subtituloPagina" runat="server" Text="Consultar Archivo" CssClass="subtitulo"></asp:Label>
                              </td>
                              <td  style="width: 250px"> <br /> </td>
                    </tr>
                    <tr>
                             <td style= "width: 250px">&nbsp;</td>
                             <td style="width: 350px" align="center">
                              <asp:Label ID="labelTransaccionFallida" runat="server" Text="" CssClass="transaccionFallida"></asp:Label>
                              </td>
                             <td  style="width: 250px"> <br /> </td>
                     </tr>
    </table><asp:Panel runat="server"></asp:Panel>
    <asp:MultiView ID="multiViewConsultar" runat="server" ActiveViewIndex="0">
       <asp:View ID="ViewConsultarPdfProfesor" runat="server">
      <fieldset id="panelSeleccionar">
       <legend><strong>Archivos</strong></legend>
       <table style="width:100%;" >
                   <tr>
                                <td style="width: 105px"align="left"> &nbsp;</td>
                                <td class="stilo18" align="left">&nbsp;</td>
                                <td style="width: 215px">&nbsp;</td>
                                <td class="stilo18">&nbsp;</td>                               
                    </tr>
                    <tr>
                                <td align="left"> &nbsp;</td>
                                <td align="left"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                <asp:Label ID="labelOUni" runat="server" ForeColor="Red" Text="*" Width="16px" />
                                <asp:Label  ID="labelUni" runat="server"   Font-Names="Arial" Font-Size="10pt">Seleccione la Universidad</asp:Label></td>
                                <td style="width: 215px"><asp:DropDownList ID="comboBoxUni" Width="255"  runat="server" AutoPostBack ="true" onselectedindexchanged="ComboBoxUni_SelectedIndexChanged" >
                                <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                </asp:DropDownList></td>
                                <td class="stilo18">&nbsp;</td>                                
                     </tr>
                     <tr>
                                <td align="left"> &nbsp;</td>
                                <td align="left"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                <asp:Label ID="labelOEscuela" runat="server" ForeColor="Red" Text="*" Width="16px" />
                                <asp:Label  ID="labelEscuela" runat="server"  Font-Names="Arial" Font-Size="10pt">Seleccione la Escuela</asp:Label></td>
                                <td style="width: 185px"><asp:DropDownList ID="comboBoxEscuela" Width="255"  runat="server" AutoPostBack ="true" onselectedindexchanged="ComboBoxEscuela_SelectedIndexChanged" >
                                <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                </asp:DropDownList></td>
                                <td class="stilo18">&nbsp;</td>                                
                     </tr>
                    <tr>
                                <td align="left"> &nbsp;</td>
                                <td align="left"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                <asp:Label ID="labelOMateria" runat="server" ForeColor="Red" Text="*" Width="16px" />
                                <asp:Label  ID="labelMateria" runat="server"  Font-Names="Arial" Font-Size="10pt">Seleccione la Materia</asp:Label></td>
                                <td style="width: 185px"><asp:DropDownList ID="comboBoxMateria" Width="255"  runat="server" AutoPostBack ="true" onselectedindexchanged="ComboBoxMateria_SelectedIndexChanged" >
                                 <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                 </asp:DropDownList>
                                </td>
                                <td class="stilo18">&nbsp;</td>                                
                     </tr>
                     <tr>
                                <td style="width: 55px" class="stilo18"></td>
                                <td align="left"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                <asp:Label ID="labelOSeccion" runat="server" ForeColor="Red" Text="*" Width="16px" />
                                <asp:Label  ID="labelSeccion" runat="server"  Font-Names="Arial" Font-Size="10pt">Seleccione la Secci&oacute;n</asp:Label>
                                </td>
                                <td style="width: 185px">
                                 <asp:DropDownList ID="comboBoxSeccion" Width="255" runat="server" AutoPostBack="true" onselectedindexchanged="ComboBoxSeccion_SelectedIndexChanged"  >
                                 <asp:ListItem Value= "0" >- Selecciona -</asp:ListItem>
                                 </asp:DropDownList>
                                </td>
                                <td style="width: 215px">  </td>
                     </tr>            

                     <asp:Label style=" color: #FF0000" ID="mensareError2" runat="server"></asp:Label>
        </table>

    </fieldset><br /><br />
          <table width="100%" id="tableBoton">
             <tr> 
                 <td align="center"><asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager>
                    <asp:Button   ID="botonAbrir" runat="server" Text="Consultar" 
                         onclick="Button1_Click" Height="30px" Width="88px"  CssClass="boton" />
                 </td>
             </tr>
         </table><br /><br /><br />
  </asp:View>
   <asp:View ID="ViewConsultarPdfProfesorLista" runat="server">
       <fieldset>
          <legend><strong>Consulta de Archivo</strong></legend>
           <table style="width:100%;" >  
              <tr>
                      <td style="width: 105px"align="right"><asp:Label  ID="labelNombreMateria" runat="server"  Text="Materia:" Font-Names="Arial" Font-Size="10pt"></asp:Label></td>
                      <td class="stilo18" align="left"><asp:Label  ID="labelMateriaProfesor" runat="server"  Font-Names="Arial" Font-Size="10pt"></asp:Label></td>
                      <td style="width: 215px">&nbsp;</td>
                      <td class="stilo18">&nbsp;</td>                               
              </tr>
              <tr>
                      <td style="width: 105px"align="left"> &nbsp;</td>
                      <td class="stilo18" align="left">&nbsp;</td>
                      <td style="width: 215px"><asp:Label  ID="labelResutadoConsulta" runat="server"  Font-Names="Arial" Font-Size="10pt"></asp:Label></td>
                      <td class="stilo18">&nbsp;</td>                               
              </tr>
              <tr>
                      <td style="width: 105px"align="left"> &nbsp;</td>
                      <td class="stilo18" align="left"><asp:LinkButton  runat="server" ID="linkEliminar" style="color:Blue" OnClick="ClickLinkEliminar" PostBackUrl="~/Presentacion/Vista/VU_09 Gestionar Carga de Archivos PDF/EliminarArchivoPdf.aspx"> +  Eliminar Archivo</asp:LinkButton></td>
                      <td style="width: 215px"><asp:LinkButton  runat="server" ID="linkAgregar" style="color:Blue" OnClick="ClickLinkAgregar" PostBackUrl="~/Presentacion/Vista/VU_09 Gestionar Carga de Archivos PDF/AgregarArchivoPdf.aspx"> +  Agregar Archivo</asp:LinkButton></td>
                      <td class="stilo18"><asp:LinkButton  runat="server" ID="linkAtras" style="color:Blue" OnClick="ClickLinkAtras" >   Atras</asp:LinkButton></td>                               
              </tr>
             </table>   
              <asp:TreeView ID="treeView1" align="center" ForeColor="black" runat="server" onselectednodechanged="TreeView1_SelectedNodeChanged">
              </asp:TreeView>
                       
         </fieldset>
   </asp:View>

    <asp:View ID="ViewConsultarPdfAlumno" runat="server">
      <fieldset>
          <legend><strong>Consultar documentaci&oacute;n</strong></legend>
           <table style="width:100%;" >  
              <tr>
                      <td style="width: 105px"align="right"><asp:Label  ID="labelMateriaA" runat="server"  Text="" Font-Names="Arial" Font-Size="10pt"></asp:Label></td>
                      <td class="stilo18" align="left"><asp:Label  ID="labelMateriaConsultaAlumno" runat="server"  Font-Names="Arial" Font-Size="10pt"></asp:Label></td>
                      <td style="width: 215px">
                          <asp:Label ID="labelResultadoAlumno" runat="server" Font-Names="Arial" Font-Size="10pt"></asp:Label>
                      </td>
                      <td class="stilo18">&nbsp;</td>                               
              </tr>
              <tr>
                      <td style="width: 105px"align="left"> &nbsp;</td>
                      <td class="stilo18" align="left">&nbsp;</td>
                      <td style="width: 215px">&nbsp;</td>
                      <td class="stilo18">&nbsp;</td>                               
              </tr>
              <tr>
                      <td style="width: 105px"align="left"> &nbsp;</td>
                      <td class="stilo18" align="right">
                          <asp:Label ID="labelOMateriaAlumno" runat="server" ForeColor="Red" Text="*" 
                              Width="16px" />
                          <asp:Label ID="labelMateriaAlumno" runat="server" Font-Names="Arial" 
                              Font-Size="10pt">Seleccione la Materia:&nbsp;&nbsp;</asp:Label>
                      </td>
                      <td style="width: 215px">
                          <asp:DropDownList ID="comboBoxMateriaAlumno" runat="server" AutoPostBack="true"  Width="255" onselectedindexchanged="ComboBoxSeccionAlumno_SelectedIndexChanged">
                              <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td class="stilo18">
                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                          <asp:Button ID="botonConsultarAlumno" runat="server" CssClass="boton" Height="30px" 
                              onclick="ButtonConsultarAlumno_Click" Text="Consultar" Width="88px" />
                      </td>                               
              </tr>
              <tr>
                      <td style="width: 105px"align="left"> &nbsp;</td>
                      <td class="stilo18" align="left">&nbsp;</td>
                      <td style="width: 215px">&nbsp;</td>
                      <td class="stilo18">&nbsp;</td>                               
              </tr>
             </table>   
          
                    <asp:TreeView ID="treeViewEstudiante" align="center" runat="server" ForeColor="black" onselectednodechanged="TreeView1_SelectedNodeChanged">
              </asp:TreeView>
                       
         </fieldset>
   
    </asp:View>

  </asp:MultiView>
  </td>
  </tr>
        
   </table>
</asp:Content>
